package org.aeon.colorfulplanebattle.constant;

import java.awt.*;

/**
 * @author: MissingAeon
 * @date: 2024/1/8 18:56
 * @description: 游戏设置常量
 * 这里的常量修改大概出问题
 */
public class GameBasisConstant {

    public static final String WINDOW_TITLE = "彩色飞机大战v1.0";
    // 窗口
    public static final int WINDOW_WIDTH = 800;
    public static final int WINDOW_HEIGHT = 1000;
    // 战场组件
    public static final int BATTLEFIELD_WIDTH = WINDOW_WIDTH - 15;
    public static final int BATTLEFIELD_HEIGHT = WINDOW_HEIGHT - 80;
    // 色块
    public static final int COLOR_BLOCK_WIDTH = 200;
    public static final int COLOR_BLOCK_HEIGHT = 50;
    public static final int COLOR_BLOCK_QUANTITY = 4;
    // 生命栏
    public static final int BLOOD_WIDTH = 35;
    public static final int BLOOD_HEIGHT = 35;
    // 得分、难度
    public static final String SCOREBOARD_PREFIX = "当前得分:";
    public static final String PROCESS_PREFIX = "当前难度:";
    public static final Font SCOREBOARD_FONT = new Font("黑体", Font.PLAIN, 24);
    // 阵营
    public static final int FRIENDLY_CAMP = 1;
    public static final int ENEMY_CAMP = 2;
    // 结算
    public static final Font SETTLEMENT_TITLE_Font = new Font("楷体", Font.BOLD, 36);
    public static final Font SETTLEMENT_Font = new Font("楷体", Font.PLAIN, 16);
    // 时钟
    public static final int CLOCK_WIDTH = 220;
    public static final int CLOCK_HEIGHT = 60;
    public static final Color CLOCK_COLOR = new Color(34, 255, 0, 50);
    public static final Font CLOCK_FONT = new Font("黑体", Font.BOLD, 50);
    // 间隔 (这里大多是默认值)
    public static final long ATTACK_INTERVAL = 200;         // 攻击
    public static final long MOVE_INTERVAL = 10;            // 移动
    public static final long CHECK_INTERVAL = 1000;           // 检查
    // 配置文件名
    public static final String BULLET = "Bullet";
    public static final String ENEMY_SHIP = "EnemyShip";
    public static final String PLANE = "Plane";
    public static final String SUSTAIN = "Plane";
    public static final String SPRINKLE_THREAD = "SprinkleThread";

}
